home *** CD-ROM | disk | FTP | other *** search
- /* $Id: nio.h,v 1.4 1993/08/12 06:19:13 jraja Exp $
- *
- * nio.h --- nifty IO definitions
- *
- * Author: ppessi <Pekka.Pessi@hut.fi>
- *
- * Copyright (c) 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
- * Helsinki University of Technology, Finland.
- * All rights reserved.
- *
- * Created : Tue May 18 15:05:14 1993 ppessi
- * Last modified: Thu Aug 12 09:18:39 1993 jraja
- *
- * $Log: nio.h,v $
- * Revision 1.4 1993/08/12 06:19:13 jraja
- * Updated the email-address.
- *
- * Revision 1.3 1993/07/12 23:02:09 ppessi
- * Version 2.0 changes.
- *
- * Revision 1.2 93/05/27 03:23:47 ppessi
- * USE_* is moved to the Smakefile
- *
- * Revision 1.1 93/05/19 17:30:51 ppessi
- * Initial revision
- *
- */
-
- #if USE_SERIAL
- #include <devices/serial.h>
- #endif
-
- #if USE_DNET
- #include <local/typedefs.h>
- #define DeadKeyConvert do_not_use_DeadKeyConvert
- #include <local/suplib_protos.h>
- #undef DeadKeyConvert
- #include <dnet/channel.h>
- #include <lib/dnetlib.h>
- #include <server/servers.h>
- #else
- /* CIO_ is DNET specific IO Command code
- * - we need these also for other devices */
- #define CHANN long
- #define CIO_FLUSH 1002
- #endif
- #define CIO_BREAK 1001
-
- #if USE_RLOGIN
- #define BSDSOCKET_H
- #include <sys/param.h>
- #include <sys/socket.h>
- #include <sys/ioctl.h>
- #include <netinet/in.h>
- #include <netdb.h>
- #include <arpa/inet.h>
- #include <netinet/in_systm.h>
- #include <netinet/ip.h>
- #include <errno.h>
- #include "rlogin.h"
- #define ioctl IoctlSocket
- #endif
-
-